﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CDB.LinqModel.Data;

namespace CDB.LinqModel
{
    public partial class Country
    {
        #region Variable Declaration
        private IDataRepository _dataObject;
        #endregion

        public Country(IDataRepository dataObject)
            : this()
        {
            _dataObject = dataObject;
        }
        public List<Country> GetAllCountries()
        {
            return _dataObject.GetAllCountries();
        }
    }
}
